@echo off
:: 项目目录
set appDir=D:\app\appServer\
:: 项目jar包名称
set appJar=hzzbs-1.0.jar
:: 查询项目pid,并根据pid关闭
for /f "tokens=1" %%a in ('jps -l ^| findstr %appJar%') do taskkill /f /pid %%a
exit